﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Text;

namespace FCNS.KeepMoney.UI
{
    public partial class Calc : Control
    {
        StringBuilder calcString = new StringBuilder();
        StringBuilder calcResult =new StringBuilder();
        int decimalPlaces=2;

        public decimal Value
        {
            get { return decimal.Parse(calcResult.ToString()); }
            set { calcResult.Append(value);
            RePaint();
            }
        }

        public int DecimalPlaces
        {
            get { return decimalPlaces; }
            set { decimalPlaces = value; }
        }

        private void GetCalc()
        {

        }
    }
}
